package com.smile.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.smile.model.dto.request.*;
import com.smile.model.response.response.GetDroneByIdResponseDTO;
import com.smile.model.response.response.GetDroneListResponseDTO;
import com.smile.model.response.response.GetNoBindDroneResponseDTO;

import java.io.IOException;

public interface DroneService {
    Boolean addDrone(AddDroneRequestDTO addDroneRequestDTO) throws IOException;

    Boolean editDrone(EditDroneRequestDTO editDroneRequestDTO) throws IOException;

    Page<GetDroneListResponseDTO> getDroneList(GetDroneListRequestDTO getDroneListRequestDTO);

    GetDroneByIdResponseDTO getDroneById(GetDroneByIdRequestDto getDroneByIdRequestDto);

    Boolean deleteDrone(Long id);

    Page<GetNoBindDroneResponseDTO> getNoBindDrone(GetNoBindDroneRequestDTO getNoBindDroneRequestDTO);
}
